<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\FitnessForm
 *
 * @property int $id
 * @property string $title 标题
 * @property string $user_id 用户id
 * @property string|null $height 身高
 * @property string|null $weight
 * @property int|null $arm_cir_left 左臂围
 * @property int|null $arm_cir_right 右臂围
 * @property int|null $side_head_zlw
 * @property int|null $side_head_qy
 * @property int|null $side_head_hy
 * @property int|null $side_cvb_zxz
 * @property int|null $side_cvb_qq
 * @property int|null $side_cvb_qz
 * @property int|null $side_pat_zlw
 * @property int|null $side_pat_nx
 * @property int|null $side_thv_zxz
 * @property int|null $side_thv_ht
 * @property int|null $side_thv_qz
 * @property int|null $side_thv_fgb
 * @property int|null $side_luv_zxz
 * @property int|null $side_luv_qq
 * @property int|null $side_luv_qz
 * @property int|null $side_ntp_zlw
 * @property int|null $side_ntp_qq
 * @property int|null $side_ntp_hq
 * @property int|null $side_sar_zlw
 * @property int|null $side_sar_cs
 * @property int|null $back_nec_zlw
 * @property int|null $back_nec_qq
 * @property int|null $back_nec_xz
 * @property int|null $back_sho_zlw
 * @property int|null $back_sho_yg
 * @property int|null $back_sho_zg
 * @property int|null $back_pat_zlw
 * @property int|null $back_pat_qq
 * @property int|null $back_pat_hsk
 * @property int|null $back_tlv_zlw
 * @property int|null $back_tlv_s
 * @property int|null $back_tlv_c
 * @property int|null $back_pel_zlw
 * @property int|null $back_pel_ycq
 * @property int|null $back_pel_zcq
 * @property int|null $back_knj_zlw
 * @property int|null $back_knj_xwfm
 * @property int|null $back_knj_xnf
 * @property int|null $back_fot_yzg
 * @property int|null $back_fot_bpz
 * @property int|null $back_fot_gzg
 * @property string|null $side_img 侧面观图片
 * @property string|null $back_img 背后观图片
 * @property string|null $side_comment 侧面观备注
 * @property string|null $back_comment 背后观图片
 * @property string|null $created_date 建档日期
 * @property string|null $side_summary 侧面观小结
 * @property string|null $back_summary 背后观小结
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property \Illuminate\Support\Carbon|null $deleted_at
 * @property-read \App\Models\User|null $user
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm onlyTrashed()
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm query()
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereArmCirLeft($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereArmCirRight($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackComment($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackFotBpz($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackFotGzg($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackFotYzg($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackImg($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackKnjXnf($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackKnjXwfm($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackKnjZlw($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackNecQq($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackNecXz($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackNecZlw($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackPatHsk($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackPatQq($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackPatZlw($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackPelYcq($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackPelZcq($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackPelZlw($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackShoYg($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackShoZg($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackShoZlw($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackSummary($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackTlvC($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackTlvS($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereBackTlvZlw($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereCreatedDate($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereHeight($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideComment($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideCvbQq($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideCvbQz($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideCvbZxz($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideHeadHy($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideHeadQy($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideHeadZlw($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideImg($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideLuvQq($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideLuvQz($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideLuvZxz($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideNtpHq($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideNtpQq($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideNtpZlw($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSidePatNx($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSidePatZlw($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideSarCs($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideSarZlw($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideSummary($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideThvFgb($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideThvHt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideThvQz($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereSideThvZxz($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereTitle($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereUserId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm whereWeight($value)
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm withTrashed()
 * @method static \Illuminate\Database\Eloquent\Builder|FitnessForm withoutTrashed()
 * @mixin \Eloquent
 */
class FitnessForm extends Model
{
	use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'fitness_form';

    public function user(): BelongsTo
    {
        return $this->belongsTo(User::class, 'user_id');
    }

}
